package com.ruoyi.jjyh.domain;

import java.math.BigDecimal;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 易货订单对象 jjyh_order
 * 
 * @author ruoyi
 * @date 2020-11-25
 */
public class JjyhOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 换入用户id A 主动 */
    @Excel(name = "换入用户id A 主动")
    private String userInid;

    /** 换入用户id A 主动 */
    @Excel(name = "换入用户id A 主动")
    private String userInName;

    public String getUserInName() {
        return userInName;
    }

    public void setUserInName(String userInName) {
        this.userInName = userInName;
    }

    public String getUserOutName() {
        return userOutName;
    }

    public void setUserOutName(String userOutName) {
        this.userOutName = userOutName;
    }

    /** 换出用户id B 被动 */
    @Excel(name = "换出用户id B 被动")
    private String userOutid;

    /** 换出用户id B 被动 */
    @Excel(name = "换出用户id B 被动")
    private String userOutName;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 换入产品物流单号 A */
    @Excel(name = "换入产品物流单号 A")
    private String changeIntrackno;

    /** 换出产品物流单号 B */
    @Excel(name = "换出产品物流单号 B")
    private String changeOuttrackno;

    /** 换入物流公司名称A */
    @Excel(name = "换入物流公司名称A")
    private String changeIntrackname;

    public String getChangeOuttrackname() {
        return changeOuttrackname;
    }

    public void setChangeOuttrackname(String changeOuttrackname) {
        this.changeOuttrackname = changeOuttrackname;
    }

    /** 换入物流公司名称A */
    @Excel(name = "换出物流公司名称B")
    private String changeOuttrackname;

    /** 换入物流公司编码A */
    @Excel(name = "换入物流公司编码A")
    private String changeIntracknamecode;

    /** 换出保证金状态 B  0未缴纳，1已缴纳 -1已退回 */
    @Excel(name = "换出保证金状态 B  0未缴纳，1已缴纳 -1已退回")
    private String changeOutstatus;

    /** 换出保证金状态 B  0未缴纳，1已缴纳 -1已退回 */
    @Excel(name = "换出保证金状态 B  0未缴纳，1已缴纳 -1已退回")
    private String changeOutstatusName;

    /** 换入订单保证金A */
    @Excel(name = "换入订单保证金A")
    private BigDecimal securityInmoney;

    /** 换出订单保证金B */
    @Excel(name = "换出订单保证金B")
    private BigDecimal securityOutmoney;

    /** 换入订单状态 A 0待回复 1待确认 2待发货 3待收货 4已完成 5关闭 */
    @Excel(name = "换入订单状态 A 0待回复 1待确认 2待发货 3待收货 4已完成 5关闭")
    private String orderInstatus;

    /** 换入订单状态 A 0待回复 1待确认 2待发货 3待收货 4已完成 5关闭 */
    @Excel(name = "换入订单状态 A 0待回复 1待确认 2待发货 3待收货 4已完成 5关闭")
    private String instatusName;

    /** 换出订单状态 B 0待回复 1待确认 2待发货 3待收货 4已完成 5关闭 */
    @Excel(name = "换出订单状态 B 0待回复 1待确认 2待发货 3待收货 4已完成 5关闭")
    private String orderOutstatus;

    /** 换出订单状态 B 0待回复 1待确认 2待发货 3待收货 4已完成 5关闭 */
    @Excel(name = "换出订单状态 B 0待回复 1待确认 2待发货 3待收货 4已完成 5关闭")
    private String outstatusName;

    /** 收货地址 B */
    @Excel(name = "收货地址 B")
    private String orderInaddress;

    /** 收货地址 B */
    @Excel(name = "收货地址 B")
    private String orderOutaddress;

    /** 换入手机号 A */
    @Excel(name = "换入手机号 A")
    private String orderInphone;

    /** 换出手机号 B */
    @Excel(name = "换出手机号 B")
    private String orderOutphone;

    /** 换入收货人 A */
    @Excel(name = "换入收货人 A")
    private String orderInname;

    /** 换出收货人 B */
    @Excel(name = "换出收货人 B")
    private String orderOutname;

    /** 换出物流公司编码B */
    @Excel(name = "换出物流公司编码B")
    private String changeOuttracknamecode;

    /** 换入保证金状态 A 0未缴纳，1已缴纳 -1已退回 */
    @Excel(name = "换入保证金状态 A 0未缴纳，1已缴纳 -1已退回")
    private String changeInstatus;

    /** 换入保证金状态 A 0未缴纳，1已缴纳 -1已退回 */
    @Excel(name = "换入保证金状态 A 0未缴纳，1已缴纳 -1已退回")
    private String changeInstatusName;

    private String deluserids;

    private String collectionCodeWxIn;

    private String collectionCodeWxOut;

    private String collectionCodeZfbIn;

    private String collectionCodeZfbOut;

    /** 订单商品表信息 */
    private List<JjyhOrderGoods> jjyhOrderGoodsList;

    private String orderType;// 1换出 主动 0换入 被动

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserInid(String userInid) 
    {
        this.userInid = userInid;
    }

    public String getUserInid() 
    {
        return userInid;
    }
    public void setUserOutid(String userOutid) 
    {
        this.userOutid = userOutid;
    }

    public String getUserOutid() 
    {
        return userOutid;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setChangeIntrackno(String changeIntrackno) 
    {
        this.changeIntrackno = changeIntrackno;
    }

    public String getChangeIntrackno() 
    {
        return changeIntrackno;
    }
    public void setChangeOuttrackno(String changeOuttrackno) 
    {
        this.changeOuttrackno = changeOuttrackno;
    }

    public String getChangeOuttrackno() 
    {
        return changeOuttrackno;
    }
    public void setChangeIntrackname(String changeIntrackname) 
    {
        this.changeIntrackname = changeIntrackname;
    }

    public String getChangeIntrackname() 
    {
        return changeIntrackname;
    }
    public void setChangeIntracknamecode(String changeIntracknamecode) 
    {
        this.changeIntracknamecode = changeIntracknamecode;
    }

    public String getChangeIntracknamecode() 
    {
        return changeIntracknamecode;
    }
    public void setChangeOutstatus(String changeOutstatus) 
    {
        this.changeOutstatus = changeOutstatus;
    }

    public String getChangeOutstatus() 
    {
        return changeOutstatus;
    }
    public void setSecurityInmoney(BigDecimal securityInmoney) 
    {
        this.securityInmoney = securityInmoney;
    }

    public BigDecimal getSecurityInmoney() 
    {
        return securityInmoney;
    }
    public void setSecurityOutmoney(BigDecimal securityOutmoney) 
    {
        this.securityOutmoney = securityOutmoney;
    }

    public BigDecimal getSecurityOutmoney() 
    {
        return securityOutmoney;
    }
    public void setOrderInstatus(String orderInstatus) 
    {
        this.orderInstatus = orderInstatus;
    }

    public String getOrderInstatus() 
    {
        return orderInstatus;
    }
    public void setOrderOutstatus(String orderOutstatus) 
    {
        this.orderOutstatus = orderOutstatus;
    }

    public String getOrderOutstatus() 
    {
        return orderOutstatus;
    }
    public void setOrderInaddress(String orderInaddress) 
    {
        this.orderInaddress = orderInaddress;
    }

    public String getOrderInaddress() 
    {
        return orderInaddress;
    }
    public void setOrderOutaddress(String orderOutaddress) 
    {
        this.orderOutaddress = orderOutaddress;
    }

    public String getOrderOutaddress() 
    {
        return orderOutaddress;
    }
    public void setOrderInphone(String orderInphone) 
    {
        this.orderInphone = orderInphone;
    }

    public String getOrderInphone() 
    {
        return orderInphone;
    }
    public void setOrderOutphone(String orderOutphone) 
    {
        this.orderOutphone = orderOutphone;
    }

    public String getOrderOutphone() 
    {
        return orderOutphone;
    }
    public void setOrderInname(String orderInname) 
    {
        this.orderInname = orderInname;
    }

    public String getOrderInname() 
    {
        return orderInname;
    }
    public void setOrderOutname(String orderOutname) 
    {
        this.orderOutname = orderOutname;
    }

    public String getOrderOutname() 
    {
        return orderOutname;
    }
    public void setChangeOuttracknamecode(String changeOuttracknamecode) 
    {
        this.changeOuttracknamecode = changeOuttracknamecode;
    }

    public String getChangeOuttracknamecode() 
    {
        return changeOuttracknamecode;
    }
    public void setChangeInstatus(String changeInstatus) 
    {
        this.changeInstatus = changeInstatus;
    }

    public String getChangeInstatus() 
    {
        return changeInstatus;
    }

    public List<JjyhOrderGoods> getJjyhOrderGoodsList()
    {
        return jjyhOrderGoodsList;
    }

    public void setJjyhOrderGoodsList(List<JjyhOrderGoods> jjyhOrderGoodsList)
    {
        this.jjyhOrderGoodsList = jjyhOrderGoodsList;
    }

    public String getChangeOutstatusName() {
        return changeOutstatusName;
    }

    public void setChangeOutstatusName(String changeOutstatusName) {
        this.changeOutstatusName = changeOutstatusName;
    }

    public String getInstatusName() {
        return instatusName;
    }

    public void setInstatusName(String instatusName) {
        this.instatusName = instatusName;
    }

    public String getOutstatusName() {
        return outstatusName;
    }

    public void setOutstatusName(String outstatusName) {
        this.outstatusName = outstatusName;
    }

    public String getChangeInstatusName() {
        return changeInstatusName;
    }

    public void setChangeInstatusName(String changeInstatusName) {
        this.changeInstatusName = changeInstatusName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userInid", getUserInid())
            .append("userOutid", getUserOutid())
            .append("orderNo", getOrderNo())
            .append("changeIntrackno", getChangeIntrackno())
            .append("changeOuttrackno", getChangeOuttrackno())
            .append("changeIntrackname", getChangeIntrackname())
            .append("changeIntracknamecode", getChangeIntracknamecode())
            .append("changeOutstatus", getChangeOutstatus())
            .append("securityInmoney", getSecurityInmoney())
            .append("securityOutmoney", getSecurityOutmoney())
            .append("orderInstatus", getOrderInstatus())
            .append("orderOutstatus", getOrderOutstatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("orderInaddress", getOrderInaddress())
            .append("orderOutaddress", getOrderOutaddress())
            .append("orderInphone", getOrderInphone())
            .append("orderOutphone", getOrderOutphone())
            .append("orderInname", getOrderInname())
            .append("orderOutname", getOrderOutname())
            .append("changeOuttracknamecode", getChangeOuttracknamecode())
            .append("changeInstatus", getChangeInstatus())
            .append("jjyhOrderGoodsList", getJjyhOrderGoodsList())
            .toString();
    }


    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getDeluserids() {
        return deluserids;
    }

    public void setDeluserids(String deluserids) {
        this.deluserids = deluserids;
    }

    public String getCollectionCodeWxIn() {
        return collectionCodeWxIn;
    }

    public void setCollectionCodeWxIn(String collectionCodeWxIn) {
        this.collectionCodeWxIn = collectionCodeWxIn;
    }

    public String getCollectionCodeWxOut() {
        return collectionCodeWxOut;
    }

    public void setCollectionCodeWxOut(String collectionCodeWxOut) {
        this.collectionCodeWxOut = collectionCodeWxOut;
    }

    public String getCollectionCodeZfbIn() {
        return collectionCodeZfbIn;
    }

    public void setCollectionCodeZfbIn(String collectionCodeZfbIn) {
        this.collectionCodeZfbIn = collectionCodeZfbIn;
    }

    public String getCollectionCodeZfbOut() {
        return collectionCodeZfbOut;
    }

    public void setCollectionCodeZfbOut(String collectionCodeZfbOut) {
        this.collectionCodeZfbOut = collectionCodeZfbOut;
    }
}
